﻿<UserControl x:Class="Dreambuild.Gis.Desktop.Demos.LowCarbon.PropertyPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="240">

    <StackPanel>
        <Button x:Name="EditButton" Margin="5" Click="EditButton_Click">编辑详情...</Button>
        <!--<xceed:PropertyGrid x:Name="PropGrid" Height="300" Background="WhiteSmoke" BorderBrush="Transparent" NameColumnWidth="120"></xceed:PropertyGrid>-->
        <WindowsFormsHost Width="240" Height="320">
            <wf:PropertyGrid x:Name="PropGrid"></wf:PropertyGrid>
        </WindowsFormsHost>
    </StackPanel>
</UserControl>
